<?php
$lowerClassName = strtolower($modelObj->className());
$key = $modelObj->key();
$keyVal = $modelObj->keyVal();

$url =  $lowerClassName.",list,pageNum,".r_int('pageNum').",currentKey,".$keyVal."#currentKey";
myresponse::redirect($url);
?>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="js/jquery-3.1.1.min.js"></script>
    <script src="js/pintuer.js"></script>
    <script src="js/common.js"></script>
</head>
<body><style>
    .table td {
        border: 1px solid #ddd;
        padding: 8px;
        vertical-align: middle;
    }
    .currentStatus0 {
        color: red ; font-weight:bold;
    }
    .currentStatus1 {
        color: green ; font-weight:bold;
    }
    .currentStatus2 {
        color: blue ; font-weight:bold;
    }
    .currentStatus3 {
        color: greenyellow ; font-weight:bold;
    }
    .currentStatus4 {
        color: darkgreen ; font-weight:bold;
    }
    .currentStatus5 {
        color: purple ; font-weight:bold;
    }
    .currentStatus6 {
        color: orange ; font-weight:bold;
    }
    .currentStatus7 {
        color: darkgray ; font-weight:bold;
    }
    .currentStatus8 {
        color: black ; font-weight:bold;
    }
</style>
<div class="panel admin-panel">
    <div class="panel-head"><div></div>
        <div style="margin-top: 10px;">
            <font color="green">保存成功！</font> 您可以进行下列操作：
        </div>

    </div>
    <table class="table table-hover text-left">
        <tr>
            <td>
                <a href="<?php echo $lowerClassName; ?>,edit,<?php echo $key; ?>,0" class="button border-main">新增</a>
            <a href="<?php echo $lowerClassName; ?>,list,pageNum,<?php echo r_int('pageNum');?>,currentKey,<?php echo $keyVal; ?>#currentKey" class="button border-main">查看列表</a></>
            <a href=<?php echo $lowerClassName; ?>,edit,<?php echo $key; ?>,<?php echo $keyVal; ?>,pageNum,<?php echo r_int('pageNum');?>  class="button border-main" >修改</a>
            </td>
        </tr>
    </table>
</body>
</html>